package com.gxa.shop.dao.address;

import com.gxa.shop.bean.dto.AddressDto;
import com.gxa.shop.bean.dto.AddressQDto;
import com.gxa.shop.bean.pojo.Address;
import com.gxa.shop.bean.vo.AddressQ;
import com.gxa.shop.bean.vo.AddressVo;
import com.gxa.shop.bean.vo.ReginVo;

import java.util.List;

public interface AddressDao {
    List<AddressVo> selectAllAddress(AddressDto addressDto);

    int deleteAddr(Integer id);

    int updateAddr(Address address);

    int addAddr(Address address);
    Long totalAllAddress(AddressDto addressDto);

    List<ReginVo> selectAllRegin();

    List<AddressQ> selectAddr(Integer id );
}
